##!/usr/bin/python2
## -*- coding: utf-8 -*-
<%page args="shot, page" />
<%
from pygolem_lite.web import make_config, get_page_paths, make_image
from pygolem_lite import Shot
import re,os
page_path, base_path, page = get_page_paths(shot, page)
%>
<a href="plasma_position.py">[Source - plasma_position.py]</a><br/>
% if Shot(shot)['plasma']:
${make_image( "plasma_position_r" , "Horizontal plasma position")}
${make_image( "plasma_position_z" , "Vertical plasma position")}
${make_image( "py_z", "Vert by python")}
${make_image( "py_r", "Hori by python")}
${make_image( "mc0" , "mc1")}
${make_image( "mc1" , "mc5")}
${make_image( "mc2" , "mc9")}
${make_image( "mc3" , "mc13")}
${make_image( "mc4" , "saddle coil")}
${make_image( "mc5" , "quadrupole")}
%else:
<h2>No plasma</h2>
%endif
${Shot(shot).get_pygolem_list([ 'mirnov_coils:position_z', 'mirnov_coils:position_r'])}